import request from "@/utils/request";

export function organization_list(query) {
  return request({
    url: "/api/organization/list",
    method: "post",
    data: query
  });
}
export function organization_listAll(query) {
  return request({
    url: "/api/organization/listAll",
    method: "post",
    data: query
  });
}

export function organization_edit(query) {
  return request({
    url: "/api/organization/edit",
    method: "post",
    data: query
  });
}

export function organization_save(query) {
  return request({
      url: "/api/organization/save",
      method: 'post',
      data: query
  })
}

export function organization_delete(query) {
  return request({
    url: "/api/organization/delete",
    method: "post",
    data: query
  });
}
export function organization_deleteAll(query) {
  return request({
    url: "/api/organization/deleteAll",
    method: "post",
    data: query
  });
}
